const Mock = require("mockjs")
var data = Mock.mock({
    "list|50":[{
        'name':"@cname",
        "id":"@id"
    }]
})
module.exports = {
    devServer:{
        before(app){
            app.get("/list",(req,res)=>{
                res.send(data.list)
            })
        }
    }
}